package com.own.service.impl;

import com.own.dao.ILoginDAO;
import com.own.service.ILoginService;

public class LoginServiceImpl implements ILoginService {

	private ILoginDAO loginDAO;
	
	public void setLoginDAO(ILoginDAO loginDAO) {
		this.loginDAO = loginDAO;
	}
	
	public boolean isLogin(String userName, String password) {
		return loginDAO.isLogin(userName, password);
	}

}
